<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title>REGFINDER | ADMIN LOGIN</title>

	<link rel="stylesheet" href="<?php echo site_url('css/admin-login-style.css') ?>" />
	<link href='http://fonts.googleapis.com/css?family=Oleo+Script' rel='stylesheet' type='text/css'>
	<script type="text/javascript" src="<?php echo site_url('js/jquery-1.10.2.js') ?>"></script>
	
</head>
<body>

	<div class="lg-container">
		<h1>Admin Area</h1>
		<?php echo  form_open('login/auth_admin',array("id"=>"lg-form","name"=>"lg-form")) ?>
		
			
			<div>
				<label for="username">Username:</label>
				<input type="text" name="username" id="username" placeholder="username"/>
			</div>
			
			<div>
				<label for="password">Password:</label>
				<input type="password" name="password" id="password" placeholder="password" />
			</div>
			
			<div>				
				<button type="submit" id="login">Login</button>
			</div>
			
		<?php echo form_close(); ?>
		<div id="message">
				<?php if($this->input->get('error') == 1): ?>
					<p class="error">ERROR: Invalid username and/or password.</p>
				<?php endif; ?>
		</div>
	</div>

</body>
</html>